package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息配置对象 ming_userconfig
 * 
 * @author ruoyi
 * @date 2023-03-03
 */
public class MingUserconfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序列号 */
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 用户id */
    @Excel(name = "极客桌面设备访问号")
    private Long userId;

    /** 小程序id */
    @Excel(name = "微信账号id")
    private Long openid;

    /** 速度 */
    @Excel(name = "速度,默认是5，屏幕滚动速度")
    private Integer speed;

    /** 周期 */
    @Excel(name = "周期，刷新http的周期")
    private Integer period;

    /** 新闻 */
    @Excel(name = "新闻")
    private String news;

    /** 通知 */
    @Excel(name = "通知")
    private String note;

    /** 天气 */
    @Excel(name = "天气")
    private String weather;

    /** 股票 */
    @Excel(name = "股票")
    private String stock;
    @Excel(name = "服务器地址")
    private String serveripPort;
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String startTime;
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String stopTime;
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long startState;
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long brightness;
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String addA;
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String addB;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setOpenid(Long openid) 
    {
        this.openid = openid;
    }

    public Long getOpenid() 
    {
        return openid;
    }

    public void setSpeed(Integer speed)
    {
        this.speed = speed;
    }

    public Integer getSpeed() 
    {
        return speed;
    }
    public void setPeriod(Integer period) 
    {
        this.period = period;
    }

    public Integer getPeriod() 
    {
        return period;
    }
    public void setNews(String news) 
    {
        this.news = news;
    }

    public String getNews() 
    {
        return news;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setWeather(String weather) 
    {
        this.weather = weather;
    }

    public String getWeather() 
    {
        return weather;
    }
    public void setStock(String stock) 
    {
        this.stock = stock;
    }

    public String getStock() 
    {
        return stock;
    }
    public void setServeripPort(String serveripPort) 
    {
        this.serveripPort = serveripPort;
    }
    public String getServeripPort() 
    {
        return serveripPort;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }
    public String getStartTime() 
    {
        return startTime;
    }
    public void setStopTime(String stopTime) 
    {
        this.stopTime = stopTime;
    }
    public String getStopTime() 
    {
        return stopTime;
    }
    public void setStartState(Long startState) 
    {
        this.startState = startState;
    }
    public Long getStartState() 
    {
        return startState;
    }
    public void setBrightness(Long brightness) 
    {
        this.brightness = brightness;
    }
    public Long getBrightness() 
    {
        return brightness;
    }
    public void setAddA(String addA) 
    {
        this.addA = addA;
    }
    public String getAddA() 
    {
        return addA;
    }
    public void setAddB(String addB) 
    {
        this.addB = addB;
    }
    public String getAddB() 
    {
        return addB;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startDate", getStartDate())
            .append("userId", getUserId())
            .append("openid", getOpenid())
            .append("speed", getSpeed())
            .append("period", getPeriod())
            .append("news", getNews())
            .append("note", getNote())
            .append("weather", getWeather())
            .append("stock", getStock())
            .append("serveripPort", getServeripPort())
            .append("startTime", getStartTime())
            .append("stopTime", getStopTime())
            .append("startState", getStartState())
            .append("brightness", getBrightness())
            .append("addA", getAddA())
            .append("addB", getAddB())
            .toString();
    }
}
